package com.ty.service;

import com.ty.mapper.FettersPartnerMapper;
import com.ty.pojo.FettersAndPaertner;
import com.ty.pojo.FettersPartner;
import com.ty.pojo.Partner;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FettersPartnerServiceImpl implements FettersPartnerService{
    @Autowired
    private FettersPartnerMapper fettersPartnerMapper;

    @Override
    public List<FettersPartner> getFettersPartnerlist(Integer id) {
        return fettersPartnerMapper.getFettersPartnerlist(id);
    }

    @Override
    public List<Partner> getAddPartner() {
        return fettersPartnerMapper.getAddPartner();
    }


}
